package _2_2基础算法;

import java.util.Scanner;

public class _582十进制转二进制 {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int num = scan.nextInt();
		String transfor = Integer.toString(num,2);
		System.out.print(transfor.length());
		scan.close();
	}
}
